package spring.data.specification;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 描述: TODO:
 * 包名: spring.data.specification.
 * 作者: barton.
 * 日期: 16-7-2.
 * 项目名称: spring-data
 * 版本: 1.0
 * JDK: since 1.8
 */
@SpringBootApplication
@Controller
public class SpecificationApplication {
  public static void main(String[] args) {
    SpringApplication.run(SpecificationApplication.class, args);
  }

  @ResponseBody
  @RequestMapping("/")
  public String index(){
    return "HELLO WORLD ! HELLO Specification!";
  }
}
